package day3_20;

public class StudentTest {
	public static void main(String[] args) {
		
		Student student = new Student(19,3000);
		
		System.out.println(student.getAge());
		student.setAge(29);
		System.out.println(student.getAge() );
		
		System.out.println(student.getMoney());
		student.setMoney(5000);
		System.out.println(student.getMoney());
		
		System.out.println(student.toString());
		
		student.eat();
		
		Student student2 = new Student(19,3000);
		System.out.println(student.equals(student2));
		
	}

}
